package com.kaili.basic.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.basic.pojo.dto.BaseCarrierAddDto;
import com.kaili.basic.pojo.entity.BaseCarrier;

import java.util.List;

/**
 * Created by renzhikun on 18-6-28.
 */
public interface BaseCarrierService {
    void addCarrier(BaseCarrierAddDto carrierAddDto);

    void deleteCarrier(Long carrierId);

    void updateCarrier(BaseCarrierAddDto carrierAddDto);

    Page<BaseCarrier> queryCarrier(Page<BaseCarrier> page, BaseCarrier carrier);

    List<BaseCarrier> queryCarrierByLike(BaseCarrier carrier);

    String getCarrierCode();
}
